# qt有一个启动类，管理所有的窗口
from PyQt5.Qt import QApplication
import sys

from PyQt5 import QtWidgets
import connector.datebasedriver
from Page.untitled import untitled
from Page.loginpage import loginpage
from Page.userpage import userpage
from Page.deletepage import deletepage
from Page.modifypage import modifypage
from Page.querypage import querypage
from Page.addpage import addpage
from Page.userpage import userpage
def main():
     # 实例化QT的应用类
     app = QtWidgets.QApplication(sys.argv)
     login_page = loginpage() # 我们想要弹出的界面
     # untit_led = untitled()
     # user_page = userpage()
     # delete_page = deletepage()
     # modify_page = modifypage()
     # query_page = querypage()
     # add_page = addpage()
     # user_page = userpage()

     sys.exit(app.exec_())  # 阻塞程序，防止提前退出



if __name__ == '__main__':
    main()